package com.roast.services.messges;

public class GetUserEvents
{
	public String getUserEvents(int signal)
	{
		if(DataBaseError.isDatabaseError(signal)){return "Database ERROR![SIGNAL:"+signal+"]";}
		switch (signal)
		{
	    	case 12000:return "You have successfully get user events from database.";
	    	case 12003:return "Fail to read master events from database.";
	    	case 12006:return "Fail to read star events from database.";
	    	case 12009:return "Fail to read participant events from database.";
	    	case 12011:return "No events found.";
	    }
		return "Unknown error![SIGNAL:"+signal+"]";
	}
}
